const express = require('express');
const app=express();
const bodyParser= require('body-parser')
const router =require('./routes');

app.use(bodyParser.urlencoded({
	extended: true
}));

app.use('/api',router);
app.use('/api',express.static('public')) 


app.listen(5200,()=>{
    console.log('5200')
})